<html xmlns:th="http://www.thymeleaf.org">
<div  th:fragment="gateway_list">
    <!-- 网关列表 -->
    <blockquote class="layui-elem-quote news_search">
        <div class="layui-inline">
            <p>网关列表 </p>
        </div>
    </blockquote>
    <div class="layui-form iot_list">
        <table id="iotList" class="layui-hide layui-table" lay-filter="iotconfig"></table>
        <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="dispatchInfo"><i class="zkuasgm-icon">&#xe6af;</i>查看分发详情</a>
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit"><i class="zkuasgm-icon">&#xe6af;</i>查看详情</a>
            {{# if(d.isOpen=='0'){ }}
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="startup"><i class="zkuasgm-icon">&#xe6af;</i>开启</a>
            {{# } }}
            {{# if(d.isOpen=='1'){ }}
            <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="shutdown"><i class="zkuasgm-icon">&#xe6af;</i>关闭</a>
            {{# } }}
        </script>
        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <div class="layui-btn-group">
                    <button class="layui-btn" data-type="iot_add" lay-event="iot_add">添加端口</button>
                    <button class="layui-btn" data-type="add_clz" lay-event="add_clz">上传文件</button>
                    <button class="layui-btn layui-btn-danger" data-type="delbatch" lay-event="delbatch">
                        批量删除
                    </button>
                </div>
            </div>
        </script>
    </div>

</div>
